package com.yupi.springbootinit.service;

import com.yupi.springbootinit.common.DeleteRequest;
import com.yupi.springbootinit.model.dto.chart.ChartAddRequest;
import com.yupi.springbootinit.model.dto.chart.ChartUpdateRequest;
import com.yupi.springbootinit.model.entity.Chart;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author liu
* @description 针对表【chart(图表信息表)】的数据库操作Service
* @createDate 2024-12-09 09:15:46
*/
public interface ChartService extends IService<Chart> {

    long saveChart(ChartAddRequest chartAddRequest, HttpServletRequest request);

    long deleteChart(DeleteRequest deleteRequest, HttpServletRequest request);

    int updateChart(ChartUpdateRequest chartUpdateRequest);
}
